Job: core (rust-2)
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
Matrix: {"group":"rust-2","units":"identity,search,webhooks,security","rust":true,"image":false}
##[group]G1T_TOKEN permissions
contents: read
metadata: read
##[endgroup]
Checking out flagon-io/g1t into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/flagon-io/g1t.git
[command]git fetch --no-tags --prune --quiet origin refs/heads/main
[command]git checkout --quiet --force -B main 103d8ce76360c6f3a70afd1a968db51fece7aa52
Checked out 103d8ce76360c6f3a70afd1a968db51fece7aa52
##[group]Rust for Workers
rustup target add wasm32-unknown-unknown
##[endgroup]
shell: bash -e /home/runner/_temp/18dc4eb8d81fc3c1.sh
info: component rust-std for target wasm32-unknown-unknown is up to date
Cache restored from key: worker-build-Linux-532237695df81a68b97a8e57585bdb8b1ef467723ff1910933a24f0bcdcd6311 (2.6 MB in 0.3s)
Cache restored from key: worker-build-tools-Linux-532237695df81a68b97a8e57585bdb8b1ef467723ff1910933a24f0bcdcd6311 (115.1 MB in 4.4s)
Cache restored from key: cargo-crates-Linux-f9437572d523fab422c6790fa14184299f4dcdbe7430863b1699525f9c8c3272 (65.0 MB in 1.4s)
Cache restored from key: cargo-target-Linux-rust-2-e739dd1792513caa6aaec120c2743c9d9a899a4c24b1adbc17a7a3acd72f2d2c (180.7 MB in 4.4s)
##[group]sccache
bash scripts/sccache.sh install
##[endgroup]
shell: bash -e /home/runner/_temp/18df4ebc29af7e31.sh
sccache: Starting the server...
sccache: Listening on address 127.0.0.1:4226
sccache 0.18.0: rustc goes through it from here on, cached in this repository's Actions cache.
##[group]Install
node scripts/deploy.mjs install --only "identity,search,webhooks,security"
##[endgroup]
shell: bash -e /home/runner/_temp/18de4ebc913ed146.sh
npm ci --no-audit --no-fund --workspaces=false

added 37 packages in 7s
npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts   workerd@1.20261001.1 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
##[group]Deploy identity,search,webhooks,security
node scripts/deploy.mjs deploy --only "identity,search,webhooks,security" --force --no-migrations --concurrency 2
##[endgroup]
shell: bash -e /home/runner/_temp/18d94ebe90afc961.sh
Deploying 103d8ce76360 (Workspace is the workspace's settings, in one place. Its sidebar is grouped, General, Access, Money, Compute, Code, Agents, Chat, Artifacts, Security and Integrations, every page one click away with no settings inside settings, the groups folding and the owner-only pages hidden from members; what is not here yet is marked Soon with a hint. Members is a list with search and filters for role, two-factor and team, and Invite opens a dialog: who, by username, name or email, their role and a note that goes into the invitation; nothing is filled in inline any more. Invitations is its own page with All, Pending, Accepted, Declined, Expired and Revoked filters that say how many, and each row's menu can copy the link, send it again or revoke it; identity learned to send an invitation again and to carry the note. Permissions gathers every rule about who may do what, by part: Code's base permission and member privileges, who creates teams, who creates channels, and, marked Soon with what applies today, forking private repositories, adding agents to conversations, messaging agents directly, creating spaces and default sharing, creating workspace agents and raising budgets, deploying to production and publishing packages. General lost what moved. The permissions guide is new, and the workspaces, people and teams, access, chat, teams, authentication and billing guides say where things are now.)

unit      stage  action  live          migrations  why
--------  -----  ------  ------------  ----------  ----------------------------------------------------------------------
identity  core   deploy  717a5712d41d  -           5 changed files (services/identity/src/invites.rs)
search    core   deploy  717a5712d41d  -           1 changed file (crates/contracts/src/identity.rs via crates/contracts)
webhooks  core   deploy  717a5712d41d  -           1 changed file (crates/contracts/src/identity.rs via crates/contracts)
security  core   deploy  717a5712d41d  -           1 changed file (crates/contracts/src/identity.rs via crates/contracts)

4 to deploy: core (identity, search, webhooks, security)
== core: identity, search, webhooks, security
[identity]  ⛅️ wrangler 4.146.0
[identity] ────────────────────
[identity] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[search]  ⛅️ wrangler 4.146.0
[search] ────────────────────
[search] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[search] [custom build] [INFO]: Checking for the Wasm target...
[search] [custom build] 
[identity] [custom build] [INFO]: Checking for the Wasm target...
[identity] [custom build] 
[search] [custom build] [INFO]: Compiling to Wasm...
[search] [custom build] 
[identity] [custom build] [INFO]: Compiling to Wasm...
[identity] [custom build] 
[identity] [custom build]     Blocking waiting for file lock on package cache
[identity] [custom build] 
[search] [custom build]     Blocking waiting for file lock on package cache
[search] [custom build] 
[identity] [custom build]     Blocking waiting for file lock on package cache
[identity] [custom build] 
[search] [custom build]     Blocking waiting for file lock on package cache
[search] [custom build] 
[identity] [custom build]     Blocking waiting for file lock on package cache
[identity] [custom build] 
[search] [custom build]     Blocking waiting for file lock on package cache
[search] [custom build] 
[search] [custom build]     Blocking waiting for file lock on build directory
[search] [custom build] 
[identity] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[identity] [custom build] 
[identity] [custom build]    Compiling g1t-secrets v0.1.0 (/home/runner/work/repo/crates/secrets)
[identity] [custom build] 
[identity] [custom build]    Compiling
[identity] [custom build]  g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[identity] [custom build] 
[identity] [custom build]    Compiling g1t-identity v0.1.0 (/home/runner/work/repo/services/identity)
[identity] [custom build] 
[identity] [custom build] warning: unused import: `permissions_of`
[identity] [custom build]   --> services/identity/src/token_reach.rs:39:69
[identity] [custom build]    |
[identity] [custom build] 39 | use g1t_contracts::scopes::{RepositorySelection, Scope, TokenReach, permissions_of, resolve_permissions, scopes_text};
[identity] [custom build]    |                                                                     ^^^^^^^^^^^^^^
[identity] [custom build]    |
[identity] [custom build]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[identity] [custom build] 
[identity] [custom build] 
[identity] [custom build] warning: `g1t-identity` (lib) generated 1 warning (run `cargo fix --lib -p g1t-identity` to apply 1 suggestion)
[identity] [custom build]     Finished `release` profile [optimized] target(s) in 1m 16s
[identity] [custom build] 
[search] [custom build]    Compiling g1t-search v0.1.0 (/home/runner/work/repo/services/search)
[search] [custom build] 
[identity] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[identity] [custom build] 
[identity] [custom build] [INFO]: :-)Done in 1m 22s
[identity] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/identity/build/.tmp.
[identity] [custom build] 
[identity] [custom build] 
[identity] [custom build]   index.js  27.7kb
[identity] [custom build] 
[identity] [custom build] ⚡ Done in 13ms
[identity] [custom build] 
[identity] Total Upload: 4954.92 KiB / gzip: 1172.82 KiB
[identity] Worker Startup Time: 4 ms
[identity] Your Worker has access to the following bindings:
[identity] Binding                                                             Resource                  
[identity] env.AVATARS (e627b571f07047e187c03e1fc2b3bbdd)                      KV Namespace              
[identity] env.EMAIL (unrestricted)                                            Send Email                
[identity] env.DB (g1t)                                                        D1 Database               
[identity] env.EVENTS (g1t-events)                                             Worker                    
[identity] env.REPOS (g1t-repos)                                               Worker                    
[identity] env.PROJECTS (g1t-projects)                                         Worker                    
[identity] env.BILLING (g1t-billing)                                           Worker                    
[identity] env.PROTECTED_WORKSPACES ("flagon-io")                              Environment Variable      
[identity] env.PROTECTED_ACCOUNTS ("")                                         Environment Variable      
[identity] env.GITHUB_APP_CLIENT_ID ("Iv23liZS94alfjIUn1eW")                   Environment Variable      
[identity] env.REGISTRATION_MODE ("invite")                                    Environment Variable      
[identity] env.INVITES_PER_USER ("5")                                          Environment Variable      
[identity] env.INVITE_TTL_DAYS ("30")                                          Environment Variable      
[identity] env.INVITE_STAFF_WORKSPACES ("flagon-io")                           Environment Variable      
[identity] env.WAITLIST_NOTIFY_EMAIL ("hey@flagon.io")                         Environment Variable      
[identity] Uploaded g1t-identity (2.27 sec)
[identity] Deployed g1t-identity triggers (0.47 sec)
[identity]   schedule: */15 * * * *
[identity] Current Version ID: 9727849e-4387-4962-8778-3b30b4cb158a
[search] [custom build]     Finished
[search] [custom build]  `release` profile [optimized] target(s) in 1m 26s
[search] [custom build] 
[search] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[search] [custom build] 
[webhooks]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
[webhooks] ───────────────────────────────────────────────
[webhooks] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[webhooks] [custom build] [INFO]: Checking for the Wasm target...
[webhooks] [custom build] 
[webhooks] [custom build] 
[webhooks] [custom build] [INFO]: Compiling to Wasm...
[webhooks] [custom build] 
[webhooks] [custom build] 
[webhooks] [custom build]    Compiling
[webhooks] [custom build]  g1t-webhooks v0.1.0 (/home/runner/work/repo/services/webhooks)
[webhooks] [custom build] 
[search] [custom build] [INFO]: :-)Done in 1m 28s
[search] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/search/build/.tmp.
[search] [custom build] 
[search] [custom build] 
[search] [custom build]   index.js  26.7kb
[search] [custom build] 
[search] [custom build] ⚡ Done in 9ms
[search] [custom build] 
[search] Total Upload: 1675.42 KiB / gzip: 391.90 KiB
[search] Worker Startup Time: 3 ms
[search] Your Worker has access to the following bindings:
[search] Binding                          Resource         
[search] env.JOBS (inherited)             Queue            
[search] env.DB (g1t-search)              D1 Database      
[search] env.IDENTITY (g1t-identity)      Worker           
[search] env.REPOS (g1t-repos)            Worker           
[search] env.WORK (g1t-work)              Worker           
[search] env.BILLING (g1t-billing)        Worker           
[search] Uploaded g1t-search (1.64 sec)
[search] Deployed g1t-search triggers (1.01 sec)
[search]   Producer for g1t-search-jobs
[search]   Consumer for g1t-events-search
[search]   Consumer for g1t-search-jobs
[search] Current Version ID: 1e56520b-70f1-46d8-a2dc-452c747f9fd2
[security]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
[security] ───────────────────────────────────────────────
[security] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[webhooks] [custom build]     Finished `release` profile [optimized] target(s) in 5.39s
[webhooks] [custom build] 
[security] [custom build] [INFO]: Checking for the Wasm target...
[security] [custom build] 
[security] [custom build] [INFO]: Compiling to Wasm...
[security] [custom build] 
[security] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[security] [custom build] 
[security] [custom build]    Compiling g1t-scan v0.1.0 (/home/runner/work/repo/crates/scan)
[security] [custom build]    Compiling g1t-actions v0.1.0 (/home/runner/work/repo/crates/actions)
[security] [custom build] 
[webhooks] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[webhooks] [custom build] 
[webhooks] [custom build] [INFO]: :-)Done in 6.47s
[webhooks] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/webhooks/build/.tmp.
[webhooks] [custom build] 
[webhooks] [custom build] 
[webhooks] [custom build]   index.js  27.6kb
[webhooks] [custom build] 
[webhooks] [custom build] ⚡ Done in 9ms
[webhooks] [custom build] 
[webhooks] Total Upload: 1058.75 KiB / gzip: 264.68 KiB
[webhooks] Worker Startup Time: 4 ms
[webhooks] Your Worker has access to the following bindings:
[webhooks] Binding                          Resource         
[webhooks] env.DB (g1t-webhooks)            D1 Database      
[webhooks] env.REPOS (g1t-repos)            Worker           
[webhooks] env.IDENTITY (g1t-identity)      Worker           
[webhooks] Uploaded g1t-webhooks (1.67 sec)
[webhooks] Deployed g1t-webhooks triggers (0.66 sec)
[webhooks]   schedule: * * * * *
[webhooks]   schedule: 37 * * * *
[webhooks]   Consumer for g1t-events-webhooks
[webhooks] Current Version ID: 24d0b890-8bb8-4c2f-8668-ff842a5dad4c
[security] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[security] [custom build] 
[security] [custom build]    Compiling g1t-security v0.1.0 (/home/runner/work/repo/services/security)
[security] [custom build] 
[security] [custom build]     Finished `release` profile [optimized] target(s) in 1m 20s
[security] [custom build] 
[security] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[security] [custom build] 
[security] [custom build] [INFO]: :-)Done in 1m 26s
[security] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/security/build/.tmp.
[security] [custom build] 
[security] [custom build] 
[security] [custom build]   index.js  27.4kb
[security] [custom build] 
[security] [custom build] ⚡ Done in 12ms
[security] [custom build] 
[security] Total Upload: 5651.44 KiB / gzip: 1444.52 KiB
[security] Worker Startup Time: 5 ms
[security] Your Worker has access to the following bindings:
[security] Binding                              Resource                  
[security] env.DB (g1t-security)                D1 Database               
[security] env.IDENTITY (g1t-identity)          Worker                    
[security] env.REPOS (g1t-repos)                Worker                    
[security] env.WORK (g1t-work)                  Worker                    
[security] env.RUNNER (g1t-runner)              Worker                    
[security] env.BILLING (g1t-billing)            Worker                    
[security] env.ACTIONS (g1t-actions)            Worker                    
[security] env.EVENTS (g1t-events)              Worker                    
[security] env.SITE_URL ("https://g1t.sh")      Environment Variable      
[security] Uploaded g1t-security (8.89 sec)
[security] Deployed g1t-security triggers (1.22 sec)
[security]   schedule: */30 * * * *
[security]   schedule: */5 * * * *
[security]   Consumer for g1t-events-security
[security] Current Version ID: 40d68a15-31f1-4496-aef3-c57d20780f6b

unit      stage  result  version                               time    note
--------  -----  ------  ------------------------------------  ------  ----
identity  core   ok      9727849e-4387-4962-8778-3b30b4cb158a  100.7s
search    core   ok      1e56520b-70f1-46d8-a2dc-452c747f9fd2  106.5s
webhooks  core   ok      24d0b890-8bb8-4c2f-8668-ff842a5dad4c  11.4s
security  core   ok      40d68a15-31f1-4496-aef3-c57d20780f6b  100.9s

Deployed in 208.1s.
##[group]sccache's hits and misses
bash scripts/sccache.sh stats
##[endgroup]
shell: bash -e /home/runner/_temp/18d84eef198dbd37.sh
Compile requests                      18
Compile requests executed              7
Cache hits                             4
Cache hits (Rust)                      4
Cache misses                           3
Cache misses (Rust)                    3
Cache hits rate                    57.14 %
Cache hits rate (Rust)             57.14 %
Cache timeouts                         0
Cache read errors                      0
Forced recaches                        0
Cache write errors                     1
Cache errors                           0
Compilations                           3
Compilation failures                   0
Non-cacheable compilations             0
Non-cacheable calls                   11
Non-compilation calls                  0
Unsupported compiler calls             0
Average cache write                1.934 s
Average compiler                  29.243 s
Average cache read hit             0.240 s
Failed distributed compilations        0

Non-cacheable reasons:
-                                      4
crate-type                             4
missing input                          3

Cache location                  ghac, name: sccache-v0.18.0, prefix: /sccache/
Base directories                (none)
Version (client)                0.18.0
